<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML>
<html>
  <head>
    <c:import url="_meta.jsp"></c:import>
    <c:import url="_link.jsp"></c:import>
    <title>分销</title>
  </head>
  
  <body>
    <article class="cl pd-20">
	  <form class="form form-horizontal" id="form-add">
	    <input type="hidden" name="commissionId"/>
		<div class="row cl">
		  <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>分销发卡期：</label>
			<div class="formControls col-xs-8 col-sm-9">
              <span class="select-box">
				<select id="issuePeriodSelectList" class="select" size="1" name="issuePeriodId">
				</select>
			  </span>
			</div>
		</div>
	    <div class="row cl">
		  <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>分销人姓名：</label>
		  <div class="formControls col-xs-8 col-sm-9">
		    <input type="text" class="input-text" value="" placeholder="分销人姓名" id="fullName" name="fullName">
		  </div>
		</div>
	    <div class="row cl">
		  <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>分销人手机号：</label>
		  <div class="formControls col-xs-8 col-sm-9">
		    <input type="text" class="input-text" value="" placeholder="分销人手机号" id="phone" name="phone">
		  </div>
		</div>
	    <div class="row cl">
		  <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>分销发卡数量：</label>
		  <div class="formControls col-xs-8 col-sm-9">
		    <input type="text" class="input-text" value="" placeholder="分销发卡数量" id="quantity" name="quantity">
		  </div>
		</div>
		<div class="row cl">
		  <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>提成方式: </label>
			<div class="formControls col-xs-8 col-sm-9">
              <span class="select-box inline">
				<select id="commissionType" class="select" size="1" name="commissionType">
				<option value="1" selected>按照数量提成</option>
				<option value="2">按照比例提成</option>
				</select>
			  </span>
			</div>
		</div>
	    <div class="row cl">
		  <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>提成单位大小：</label>
		  <div class="formControls col-xs-8 col-sm-9">
		    <input type="text" class="input-text" value="" placeholder="比例输入3将按照3%计算分成方式" id="commission" name="commission">
		  </div>
		</div>
		<div class="row cl">
		  <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-2">
		    <input class="btn btn-primary radius" type="submit" value="&nbsp;&nbsp;提交&nbsp;&nbsp;">
		  </div>
		</div>
	  </form>
    </article>
    <c:import url="_footer.jsp"></c:import>
    <script type="text/javascript" src="${pageContext.request.contextPath}/resources/lib/jquery.validation/1.14.0/jquery.validate.js"></script> 
    <script type="text/javascript" src="${pageContext.request.contextPath}/resources/lib/jquery.validation/1.14.0/validate-methods.js"></script> 
    <script type="text/javascript" src="${pageContext.request.contextPath}/resources/lib/jquery.validation/1.14.0/messages_zh.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/resources/lib/My97DatePicker/4.8/WdatePicker.js"></script>
    <script>var contextPath = "${pageContext.request.contextPath}";</script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/resources/js/formHandle.js"></script>  
    <script type="text/javascript" src="${pageContext.request.contextPath}/resources/js/commandScript.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/resources/js/commission_add.js"></script>
</body>
</html>